package com.qlk.odcinterface.sdk.api.request;

import com.qlk.common.sdk.api.request.QlkRequest;
import com.qlk.odcinterface.domain.PmsProductPromotionItem;

import java.util.Date;
import java.util.List;

/**
 * PmsProductPromotionRequest：单品促销表请求参数
 * 
 * @author zhaoyanan
 * @version 2016-4-14 13:22:58
 * 
 */
public class PmsProductPromotionRequest extends QlkRequest {

    /** 序列化标识 */
    private static final long serialVersionUID = 1L;
    
    /** ID */
    private Integer id; 
    /** 促销活动编码 */
    private String code; 
    /** 促销活动名称 */
    private String name; 
    /** 促销语 */
    private String promotionLanguage; 
    /** 活动开始时间 */
    private Date beginTime; 
    /** 活动截止时间 */
    private Date endTime; 
    /** 1： 新会员，2：老会员。多会员等级之间以半角逗号作为分割（一期不做实现） */
    private String memberRank; 
    /** 1： 促销价，2： 折扣。 */
    private Integer activityWay; 
    /** 是否限购:1:是/0:否 */
    private Integer isLimitations; 
    /** 0:否，1：是（一期不做实现） */
    private Integer panicBuying; 
    /** 是否抢购字段是1（抢购）时必填，否则为空 */
    private Long panicBuyingCount; 
    /** 账户限制0:否，1：是 */
    private Integer accountLimit; 
    /** 最小购买数量 */
    private Integer minPurchaseCount; 
    /** 最大购买数量 */
    private Integer maxPurchaseCount; 
    /** 10：未生效（未启动），20：系统未审核（已启动）30：系统审核通过，40：系统审核驳回，50：暂停 */
    private Integer status; 
    /** 是否已删除，已删除则为删除日期的时间戳 */
    private Date deletedAt; 
    /**  */
    private Date createdAt; 
    /**  */
    private Date updatedAt; 
    
    private List<PmsProductPromotionItem> promotionItemList;
    /** 1：大白云诊，2：七乐康PC网页，3：七乐康APP，4：七乐康微信端，5：七乐康WAP。多渠道之间以半角逗号作为分割 */
    private String channel; 
    public Integer getId(){
        return id;
    }
        
    public void setId(Integer id) {
        this.id = id;
    }
    
    public String getCode(){
        return code;
    }
        
    public void setCode(String code) {
        this.code = code;
    }
    
    public String getName(){
        return name;
    }
        
    public void setName(String name) {
        this.name = name;
    }
    
    public String getPromotionLanguage(){
        return promotionLanguage;
    }
        
    public void setPromotionLanguage(String promotionLanguage) {
        this.promotionLanguage = promotionLanguage;
    }
    
    public Date getBeginTime(){
        return beginTime;
    }
        
    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }
    
    public Date getEndTime(){
        return endTime;
    }
        
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
    
    public String getMemberRank(){
        return memberRank;
    }
        
    public void setMemberRank(String memberRank) {
        this.memberRank = memberRank;
    }
    
    public Integer getActivityWay(){
        return activityWay;
    }
        
    public void setActivityWay(Integer activityWay) {
        this.activityWay = activityWay;
    }
    
    public Integer getIsLimitations(){
        return isLimitations;
    }
        
    public void setIsLimitations(Integer isLimitations) {
        this.isLimitations = isLimitations;
    }
    
    public Integer getPanicBuying(){
        return panicBuying;
    }
        
    public void setPanicBuying(Integer panicBuying) {
        this.panicBuying = panicBuying;
    }
    
    public Long getPanicBuyingCount(){
        return panicBuyingCount;
    }
        
    public void setPanicBuyingCount(Long panicBuyingCount) {
        this.panicBuyingCount = panicBuyingCount;
    }
    
    public Integer getAccountLimit(){
        return accountLimit;
    }
        
    public void setAccountLimit(Integer accountLimit) {
        this.accountLimit = accountLimit;
    }
    
    public Integer getMinPurchaseCount(){
        return minPurchaseCount;
    }
        
    public void setMinPurchaseCount(Integer minPurchaseCount) {
        this.minPurchaseCount = minPurchaseCount;
    }
    
    public Integer getMaxPurchaseCount(){
        return maxPurchaseCount;
    }
        
    public void setMaxPurchaseCount(Integer maxPurchaseCount) {
        this.maxPurchaseCount = maxPurchaseCount;
    }
    
    public Integer getStatus(){
        return status;
    }
        
    public void setStatus(Integer status) {
        this.status = status;
    }
    
    public Date getDeletedAt(){
        return deletedAt;
    }
        
    public void setDeletedAt(Date deletedAt) {
        this.deletedAt = deletedAt;
    }
    
    public Date getCreatedAt(){
        return createdAt;
    }
        
    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }
    
    public Date getUpdatedAt(){
        return updatedAt;
    }
        
    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

	public List<PmsProductPromotionItem> getPromotionItemList() {
		return promotionItemList;
	}

	public void setPromotionItemList(List<PmsProductPromotionItem> promotionItemList) {
		this.promotionItemList = promotionItemList;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	
}
